package com.vincce.sport.core.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.vincce.sport.controller.TimerTaskController;

@Component
public class PlayerDataTimingTask extends TimerTaskController{
	//@Scheduled(cron = "0 0/1 * * * ?")	//测试每分钟执行一次
	@Scheduled(cron = "0 10 0 * * ?")		//每天0点触发
	public void playerDataTaskTimer(){		
		playerDataTask();
	}

}
